import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {PrimeNgModule} from '../prime-ng.module';

import {BaseIndexComponent, BaseListComponent, BaseSearchComponent} from './component';
import {ContainerComponent} from './component/container.component';
import {ContainerShowComponent} from './component/container-show.component';
import {BaseDialogComponent} from './component/base/base-dialog/base-dialog.component';

const baseComp = [BaseIndexComponent, BaseListComponent, BaseSearchComponent, BaseDialogComponent ];

@NgModule({
  imports: [
    CommonModule,
    PrimeNgModule
  ],
  declarations: [ baseComp, ContainerComponent, ContainerShowComponent ],
  entryComponents: [BaseDialogComponent],
  exports: [
    baseComp, ContainerComponent, ContainerShowComponent
  ]
})
export class SharedModule { }
